#include<stdio.h>
	int main(void)
	{  
	  /*********Begin*********/
      #define PI 3.14
      double r, h, C1, Sb, Vb;
      scanf("%lf,%lf", &r, &h);
      C1 = PI * r * 2;
      Sb = PI * r * r * 4;
      Vb = PI * r * r * h;
	  printf("C1=%.2f\nSb=%.2f\nVb=%.2f", C1, Sb, Vb);
	  /*********End**********/ 
       return 0;
	}
